runtime.mutex.key (field)
11 uses
runtime (current package)
lock_futex.go#L59: v := atomic.Xchg(key32(&l.key), mutex_locked)
lock_futex.go#L82: for l.key == mutex_unlocked {
lock_futex.go#L83: if atomic.Cas(key32(&l.key), mutex_unlocked, wait) {
lock_futex.go#L92: for l.key == mutex_unlocked {
lock_futex.go#L93: if atomic.Cas(key32(&l.key), mutex_unlocked, wait) {
lock_futex.go#L101: v = atomic.Xchg(key32(&l.key), mutex_sleeping)
lock_futex.go#L106: futexsleep(key32(&l.key), mutex_sleeping, -1)
lock_futex.go#L115: v := atomic.Xchg(key32(&l.key), mutex_unlocked)
lock_futex.go#L120: futexwakeup(key32(&l.key), 1)
mheap.go#L1564: span.speciallock.key = 0
runtime2.go#L167: key uintptr